package com.zhny.sensor.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 设备报警记录信息表报警记录信息表实体类
 * @author zhy
 *
 */
@Entity
@Table(name="barcode_machine_alert")
public class BarcodeMachineAlert implements Serializable{

	@Id
	private String id;//


	
	private String barcodeMachineId;//脚标机编号
	private String faultInfo;//故障信息
	private String state;//故障状态（0：未处理、1：已处理）
	private String remarks;//备注
	private java.util.Date faultTime;//故障时间
	private java.util.Date createDate;//创建时间
	private String createBy;//创建者
	private int isRead; //标记已读，已读为1；未读为0


	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getBarcodeMachineId() {		
		return barcodeMachineId;
	}
	public void setBarcodeMachineId(String barcodeMachineId) {
		this.barcodeMachineId = barcodeMachineId;
	}

	public String getFaultInfo() {		
		return faultInfo;
	}
	public void setFaultInfo(String faultInfo) {
		this.faultInfo = faultInfo;
	}

	public String getState() {		
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public String getRemarks() {		
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public java.util.Date getFaultTime() {		
		return faultTime;
	}
	public void setFaultTime(java.util.Date faultTime) {
		this.faultTime = faultTime;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}
}
